* {
    box-sizing: border-box;
}

.clearfix::before,
.clearfix::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    clear: both;
    opacity: 0;
    visibility: hidden;
}

.inline {
    display: inline;
}

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.inline-flex {
    display: inline-flex;
}

.flex {
    display: flex;
}

.vertical-center {
    justify-content: center;
}

.vertical-middle {
    vertical-align: middle;
}

.vertical-top {
    vertical-align: top;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-wrap {
    white-space: normal;
    word-break: break-all;
}

.text-right {
    text-align: right;
}

.font-bold {
    font-weight: bold;
}

.pull-left {
    float: left;
}

.pull-right {
    float: right;
}

.absolute {
    position: absolute;
    z-index: 1;
}

.relative {
    position: relative;
}

.fixed {
    position: fixed;
}

.auto-center {
    margin-left: auto;
    margin-right: auto;
}

.position-middle {
    top: 50%;
    transform: translateY(-50%);
}

.position-center {
    left: 50%;
    transform: translateX(-50%);
}

.position-core {
    @extend .position-middle;
    @extend .position-center;
    transform: translate(-50%, -50%);
}

@each $size in 12 13 14 16 18 20 {
    .font-#{$size} {
        font-size: #{$size}px;
    }
}

@for $i from 0 through 10 {
    $box: $i * 5;

    .margin-#{$box} {
        margin: #{$box}px;
    }

    .margin-top-#{$box} {
        margin-top: #{$box}px;
    }

    .margin-left-#{$box} {
        margin-left: #{$box}px;
    }

    .margin-right-#{$box} {
        margin-right: #{$box}px;
    }

    .margin-bottom-#{$box} {
        margin-bottom: #{$box}px;
    }

    .padding-#{$box} {
        padding: #{$box}px;
    }

    .padding-top-#{$box} {
        padding-top: #{$box}px;
    }

    .padding-left-#{$box} {
        padding-left: #{$box}px;
    }

    .padding-right-#{$box} {
        padding-right: #{$box}px;
    }

    .padding-bottom-#{$box} {
        padding-bottom: #{$box}px;
    }
}

@for $i from 1 through 20 {
    $size: $i * 10+50;

    .width-#{$size} {
        width: #{$size}px;
    }

    $per: $i * 5;

    .width-#{$per}per {
        width: $per * 1%;
    }

    .height-#{$per}per {
        height: $per * 1%;
    }
}

.width-100vw {
    width: 100vw;
}

.width-50vw {
    width: 50vw;
}

.height-100vh {
    height: 100vh;
}

.height-50vh {
    height: 50vh;
}

.view-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.margin-layout {
    margin: 15px 15px 0 15px;
}

.padding-layout {
    padding: 15px 15px 0 15px;
}

.cursor-not {
    cursor: unset;
    pointer-events: none;
}

.status-tag {
    min-width: 60px;
    display: inline-flex;
    justify-content: center;
}

// 全局箭头修改
.vview-sort>span {
    zoom: 1.4 !important;
}

// 主面版的样式
.dashtitle {
    font-size: 14px;
    padding: 10px;
    font-weight: 700;
}

.scrollbox {
    display: block;
    position: relative;
    height: 306px;
    overflow: hidden;
}

.scrollUl {
    display: block;
    position: absolute;
}

.scrollUl li {
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    padding-left: 20px;
}

.litTitle {
    font-size: 14px;
    padding: 10px;
    font-weight: 700;
    border-bottom: 1px solid #e8eaec;
}

.gonggao {
    border-bottom: 1px solid #e8eaec;
    font-size: 14px;
    padding: 5px;
}

.ordertitle {
    display: flex;
    height: 160px;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    padding: 20px;
}

.orderImg {
    width: 60px;
    height: 60px;
    cursor: pointer;
    vertical-align: middle;
    margin-right: 10px
}

.marquee_top {
    transition: all 0.5s;
    margin-top: -30px;
}

.liitem {
    color: #666;
}

.liitem:hover {
    color: #2b85e4
}

.height-350 {
    height: 350px;
}

.back-fff {
    background-color: #fff
}

.home-card-head {
    border-bottom: 1px solid #e8eaec;
    padding: 14px 16px;
    line-height: 1;
}

.ivu-row-flex-middle {
    align-items: center;
}

.ivu-row-flex-center {
    justify-content: center;
}

.ivu-row-flex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.ivu-radio-group {
    display: inline-block;
}

.ivu-date-picker {
    display: inline-block;
}

.ivu-radio-wrapper {
    font-size: 12px;
    padding: 0 10px;
    color: #515a6e;
}

.ivu-radio-wrapper-checked {
    // border-color: #57a3f3;
    color: #2d8cf0;
}

.ivu-radio-group-item:hover {
    color: #57a3f3;
}

.font-30 {
    font-size: 30px;
}

.font-32 {
    font-size: 32px;
}

.height-90 {
    height: 90px;
}

.homeloading {
    z-index: 99 !important;
}


@for $i from 0 through 10 {
    $box: $i * 5;

    .margin-#{$box} {
        margin: #{$box}px;
    }

    .margin-top-#{$box} {
        margin-top: #{$box}px;
    }

    .margin-right-#{$box} {
        margin-right: #{$box}px;
    }

    .margin-bottom-#{$box} {
        margin-bottom: #{$box}px;
    }

    .padding-#{$box} {
        padding: #{$box}px;
    }

    .padding-top-#{$box} {
        padding-top: #{$box}px;
    }

    .padding-left-#{$box} {
        padding-left: #{$box}px;
    }

    .padding-right-#{$box} {
        padding-right: #{$box}px;
    }

    .padding-bottom-#{$box} {
        padding-bottom: #{$box}px;
    }
}

.inboundtext .vview-textarea {
    padding-top: 7px !important;
    padding-bottom: 8px !important;
}

.cursor-pointer {
    cursor: pointer
}

/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: #999;
}

/*定义滚动条轨道 内阴影+圆角*/

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 1px rgba(0, 0, 0, 0);
    border-radius: 10px;
    background-color: #F5F5F5;
}

/*定义滑块 内阴影+圆角*/

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #777;
}

// checkbox文字大小
.ivu-checkbox-wrapper {
    font-size: 12px;
}